<template>
  <div id="app">
    <Header />
    <main class="main-content">
      <router-view></router-view>
    </main>
    <Footer />
  </div>
</template>

<script setup lang="ts">
import Header from './components/Header.vue'
import Footer from './components/Footer.vue'
</script>

<style>
#app {
  min-height: 100vh;
}

.main-content {
  padding: 2rem;
  margin-bottom: 60px; /* 为固定的页脚留出空间 */
}
</style>